/*
 * @Author: linZeJian
 * @Date: 2022-10-27 11:40:03
 * @LastEditors: linZeJian
 * @LastEditTime: 2022-10-27 11:40:18
 * @Description: 
 */
const componentsContext = require.context('./', true, /\.vue$/)
let arr = {}
componentsContext.keys().forEach(file_name => {
    // 获取文件中的 default 模块
    let defaultObj = componentsContext(file_name).default
    arr[defaultObj.name] = defaultObj
})
export default arr